<script setup lang="ts">
import {defineExpose, watch} from "vue";

const props = defineProps({
  cusId:{
    type: Number,
    required: true
  },mini:{
    type: Boolean,
    required: true
  }
})

watch(()=>props.cusId, () => {
  console.log('cart')
},{immediate: true})



const emit = defineEmits(['success']);

const init = () => {
  console.log('cart-ini');
}

defineExpose({ init })

</script>

<template>
  <div>cart</div>
</template>

<style scoped lang="scss">

</style>